package  htmlAnalyze.htmlObject 
{
	import utils.Analyzer;
	import htmlAnalyze.MakeHtmlArray;
	/**
	 * ...
	 * @author FireKnight
	 */
	public class HtmlHeadElement extends Object 
	{
		protected var _profile:Object;
		protected var _innerHTML:String;
		protected var _id:String;
		protected var _title:String;
		protected var _innerText:String;
		protected var _children:Array;
		protected var _tagName:String;
		protected var _childElementCount:Number;
		protected var _textContent:String;
		protected var _nodeName:String;
		protected var _resource:Object;
		public function HtmlHeadElement(s:*) 
		{
			super();
			if (s.nodeName!="HEAD" )
			{
				trace("object is not head document");
				return;
			}
			_resource = s;
			init(s);
		}
		
		protected function init(s:*):void
		{
			_profile = s.profile;
			_innerHTML = s.innerHtml;
			_id = s.id;
			_title = s.title;
			_innerText = s.innerText;
			_children = new Array();
			MakeHtmlArray.makeArray(_children, s.children);
			_tagName = s.tagName;
			_childElementCount = s._childElementCount;
			_textContent = s.textContent;
			_nodeName = s.nodeName;
		}
		
		public function get innerHTML():String { return _innerHTML; }
		public function get profile():Object { return _profile; }
		public function get innerText():String { return _innerText; }
		public function get id():String  { return _id; }
		public function get title():String  { return _title; }
		public function get children():Array  { return _children; }
		public function get nodeName():String  { return _nodeName; }
		public function get tagName():String  { return _tagName; }
		public function get resource():Object { return _resource};
		
		
		
	}
/*
 * profile= 
outerHTML= <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>湖北华融物流股份有限公司</title>
<link rel="stylesheet" type="text/css" href="/templets/hr56/css/base.css">
<link rel="stylesheet" type="text/css" href="/templets/hr56/css/zw.css">
<script type="text/javascript" src="/templets/hr56/script/jquery.js"></script>
<script type="text/javascript" src="/templets/hr56/script/jwplayer.js"></script>
<script type="text/javascript" src="/templets/hr56/script/hr.js"></script>
</head>
className= 
innerText= 
湖北华融物流股份有限公司
id= 
title= 
lang= 
dir= 
innerHTML= 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>湖北华融物流股份有限公司</title>
<link rel="stylesheet" type="text/css" href="/templets/hr56/css/base.css">
<link rel="stylesheet" type="text/css" href="/templets/hr56/css/zw.css">
<script type="text/javascript" src="/templets/hr56/script/jquery.js"></script>
<script type="text/javascript" src="/templets/hr56/script/jwplayer.js"></script>
<script type="text/javascript" src="/templets/hr56/script/hr.js"></script>
contentEditable= false
tabIndex= -1
draggable= false
outerText= 
湖北华融物流股份有限公司
children= [object HTMLCollection]
isContentEditable= false
style= [object CSSStyleDeclaration]
scrollLeft= 0
clientWidth= 0
firstElementChild= [object HTMLMetaElement]
scrollWidth= 0
clientLeft= 0
offsetWidth= 0
offsetLeft= 0
clientTop= 0
lastElementChild= [object HTMLScriptElement]
offsetParent= null
nextElementSibling= [object HTMLBodyElement]
tagName= HEAD
previousElementSibling= null
clientHeight= 0
childElementCount= 7
offsetTop= 0
offsetHeight= 0
scrollTop= 0
scrollHeight= 0
previousSibling= null
parentNode= [object HTMLHtmlElement]
lastChild= [object Text]
baseURI= http://www.huarong56.com/static/touguomeitikanhuarong/2011/1028/72.html
firstChild= [object Text]
nodeValue= null
textContent= 
湖北华融物流股份有限公司
nodeType= 1
nodeName= HEAD
prefix= null
childNodes= [object NodeList]
nextSibling= [object HTMLBodyElement]
attributes= [object NamedNodeMap]
ownerDocument= [object HTMLDocument]
namespaceURI= http://www.w3.org/1999/xhtml
localName= head
parentElement= [object HTMLHtmlElement]
insertAdjacentElement= function insertAdjacentElement() {
    [native code]
}
insertAdjacentHTML= function insertAdjacentHTML() {
    [native code]
}
insertAdjacentText= function insertAdjacentText() {
    [native code]
}
getElementsByTagName= function getElementsByTagName() {
    [native code]
}
getAttribute= function getAttribute() {
    [native code]
}
querySelectorAll= function querySelectorAll() {
    [native code]
}
webkitMatchesSelector= function webkitMatchesSelector() {
    [native code]
}
getElementsByClassName= function getElementsByClassName() {
    [native code]
}
contains= function contains() {
    [native code]
}
getBoundingClientRect= function getBoundingClientRect() {
    [native code]
}
querySelector= function querySelector() {
    [native code]
}
hasAttribute= function hasAttribute() {
    [native code]
}
getAttributeNode= function getAttributeNode() {
    [native code]
}
getAttributeNS= function getAttributeNS() {
    [native code]
}
getElementsByTagNameNS= function getElementsByTagNameNS() {
    [native code]
}
removeAttributeNS= function removeAttributeNS() {
    [native code]
}
getClientRects= function getClientRects() {
    [native code]
}
scrollByPages= function scrollByPages() {
    [native code]
}
setAttributeNode= function setAttributeNode() {
    [native code]
}
setAttributeNS= function setAttributeNS() {
    [native code]
}
hasAttributeNS= function hasAttributeNS() {
    [native code]
}
blur= function blur() {
    [native code]
}
scrollIntoViewIfNeeded= function scrollIntoViewIfNeeded() {
    [native code]
}
setAttribute= function setAttribute() {
    [native code]
}
scrollByLines= function scrollByLines() {
    [native code]
}
removeAttribute= function removeAttribute() {
    [native code]
}
setAttributeNodeNS= function setAttributeNodeNS() {
    [native code]
}
removeAttributeNode= function removeAttributeNode() {
    [native code]
}
getAttributeNodeNS= function getAttributeNodeNS() {
    [native code]
}
focus= function focus() {
    [native code]
}
scrollIntoView= function scrollIntoView() {
    [native code]
}
addEventListener= function addEventListener() {
    [native code]
}
appendChild= function appendChild() {
    [native code]
}
cloneNode= function cloneNode() {
    [native code]
}
removeEventListener= function removeEventListener() {
    [native code]
}
compareDocumentPosition= function compareDocumentPosition() {
    [native code]
}
insertBefore= function insertBefore() {
    [native code]
}
removeChild= function removeChild() {
    [native code]
}
hasAttributes= function hasAttributes() {
    [native code]
}
NOTATION_NODE= 12
CDATA_SECTION_NODE= 4
isSupported= function isSupported() {
    [native code]
}
ELEMENT_NODE= 1
DOCUMENT_POSITION_DISCONNECTED= 1
isEqualNode= function isEqualNode() {
    [native code]
}
ENTITY_NODE= 6
TEXT_NODE= 3
ENTITY_REFERENCE_NODE= 5
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC= 32
DOCUMENT_FRAGMENT_NODE= 11
dispatchEvent= function dispatchEvent() {
    [native code]
}
PROCESSING_INSTRUCTION_NODE= 7
isDefaultNamespace= function isDefaultNamespace() {
    [native code]
}
hasChildNodes= function hasChildNodes() {
    [native code]
}
DOCUMENT_POSITION_PRECEDING= 2
normalize= function normalize() {
    [native code]
}
DOCUMENT_TYPE_NODE= 10
COMMENT_NODE= 8
replaceChild= function replaceChild() {
    [native code]
}
DOCUMENT_POSITION_FOLLOWING= 4
ATTRIBUTE_NODE= 2
DOCUMENT_POSITION_CONTAINED_BY= 16
DOCUMENT_NODE= 9
DOCUMENT_POSITION_CONTAINS= 8
isSameNode= function isSameNode() {
    [native code]
}
lookupPrefix= function lookupPrefix() {
    [native code]
}
lookupNamespaceURI= function lookupNamespaceURI() {
    [native code]
}
 * */
}